package com.easylinkin.linkappapi.jzsmokewarning.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.common.model.SortModel;
import com.easylinkin.linkappapi.jzsmokewarning.entity.SmokeWarning;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 荆州油烟预警 Mapper 接口
 * </p>
 *
 * @author TongJie
 * @since 2021-12-20
 */
public interface SmokeWarningMapper extends BaseMapper<SmokeWarning> {

    IPage<SmokeWarning> getSmokeCollectionPage(@Param("page") Page page, @Param("sort") List<SortModel> sort, @Param("smokeWarning") SmokeWarning smokeWarning);
}
